<template>
  <div class="dy-main MyWealthRevokeResult">
    <div class="dy-header">
      <x-header title="撤单成功" :left-options="{preventGoBack:true}" @on-click-back="back"></x-header>
    </div>
    <div class="dy-body">
      <div class="success-box-wrap">
        <img src="../../../../../static/icon/success-arrow.svg" />
        <strong>撤单成功</strong>
      </div>
      <div class="info-list">
        <group gutter="0">
          <cell title="产品名称" :value="prdName"></cell>
          <cell title="交易金额" :value="tranAmount"></cell>
          <cell title="交易日期" :value="tranDate"></cell>
        </group>
      </div>
      <div class="confirm">
        <x-button action-type="button" @click.native="returnPage('MyWealthIndex')">完成</x-button>
      </div>
    </div>
    <!--<div class="dy-footer"></div>-->
  </div>
</template>
<script>
export default {
  data () {
    return {
      prdName: '交银添利B(T556643424249)',
      tranAmount: '60,000.00元',
      tranDate: '2018-04-29'
    }
  },
  methods: {
    /**
     *返回
     *
     **/
    back () {
      this.$publicFun.goBack(this)
    },
    /**
     *返回页面
     **/
    returnPage (name) {
      this.$router.push({name: name})
    }
  },
  created () {
    // this.status = this.$route.query.status
  }
}
</script>
<style lang="less">
  .MyWealthRevokeResult {
    .dy-body {
      position: relative;
      overflow: auto;
      .success-box-wrap {
        padding: .58rem 0 .66rem;
        text-align: center;
        background-color: #fff;
        img {
          width: 1.5rem;
          height: 1.5rem;
        }
        strong {
          display: block;
          margin-top: .3rem;
          font-size: .44rem;
          font-weight: normal;
          line-height: .6rem;
        }
        .success-p {
          margin-top: .28rem;
          font-size: .24rem;
          line-height: .42rem;
          color: #9b9b9b;
        }
      }
      .info-list {
        padding: .3rem 0;
        background: #fff;
      }
      .confirm {
        position: absolute;
        left: 0;
        bottom: .8rem;
        padding: 0 .4rem;
        width: 100%;
      }
    }
  }
</style>
